package han.entity;

import java.sql.Date;

/**
 * @fileName: FinanceProjectNewsEntity
 * @author: Han
 * @date: 2018/6/27 10:21
 * @dscription: TODO
 */
public class FinanceProjectNewsEntity {
    private String krId;

    @Override
    public String toString() {
        return "FinanceProjectNewsEntity{" + "krId='" + krId + '\'' +
                ", newsType='" + newsType + '\'' +
                ", newsUrl='" + newsUrl + '\'' +
                ", publishDate=" + publishDate +
                ", source='" + source + '\'' +
                ", title='" + title + '\'' +
                '}';
    }

    private String newsType;
    private String newsUrl;
    private Date publishDate;
    private String source;
    private String title;

    public FinanceProjectNewsEntity(String krId, String newsType, String newsUrl, Date publishDate, String source, String title) {
        this.krId = krId;
        this.newsType = newsType;
        this.newsUrl = newsUrl;
        this.publishDate = publishDate;
        this.source = source;
        this.title = title;
    }

    public String getNewsType() {
        return newsType;
    }

    public void setNewsType(String newsType) {
        this.newsType = newsType;
    }

    public String getNewsUrl() {
        return newsUrl;
    }

    public void setNewsUrl(String newsUrl) {
        this.newsUrl = newsUrl;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getKrId() {
        return krId;
    }

    public void setKrId(String krId) {
        this.krId = krId;
    }
}
